package com.gupaoedu.springframework.mvcframework.webmvc;

import java.io.File;
import java.util.Locale;

/**
 * projectName: my-springframwork
 * packageName: com.gupaoedu.springframework.mvcframework.webmvc
 * Created: 2019/4/15.
 * Auther: baifc
 * Description:
 */
public class MyViewResolver {

    private final String DEFAULT_TEMPLATE_SUFFX = ".html";

    private File templateFile;

    public MyViewResolver(String templateRoot) {
        templateRoot = this.getClass().getClassLoader().getResource(templateRoot).getFile();
    }

//    private MyView resolveViewName(String viewName, Locale locale) {
//
//    }
}
